package com.flaskpy.web.eternity.core.exception.enums;

import com.flaskpy.web.eternity.core.annotation.ExceptionGroup;
import com.flaskpy.web.eternity.core.exception.abs.IExceptionEnum;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor
@ExceptionGroup(value = "B",desc = "权限相关")
public enum  AuthExceptionEnum implements IExceptionEnum {
    NAME_OR_PWD_ERROR("0401","用户名或密码错误"),
    ACCESS_FIAL("0402","没权限防问此资源");

    private final String code;
    private final String msg;
}
